package com.it.common.utils;

public class StringUtils {
    public static String getNoNullData(String str) {
        if (str == null || str.equals("null")) {
            return "-";
        } else {
            return str;
        }
    }

    public static String getNoNullData(Double str) {
        if (str == null) {
            return "-";
        } else {
            return String.valueOf(str);
        }
    }

    public static String getNoNullData2(String str) {
        if (str == null || str.equals("null")) {
            return "";
        } else {
            return str;
        }
    }
}
